package com.zyn.rsgl.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("holiday")
public class Holiday implements Serializable {
    /**
     * 节假日日期
     */
    @TableField("date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     * 节假日描述
     */
    @TableField("description")
    private String description;
}
